<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>{$title}</title
><link href="{MODULE_URL}images/css/owl.carousel.css" rel="stylesheet">
<link href="{MODULE_URL}images/css/public.css" rel="stylesheet" type="text/css" />
<link href="{MODULE_URL}images/css/baoliao.css" rel="stylesheet" type="text/css" />
<link href="{MODULE_URL}images/weui.css" rel="stylesheet" type="text/css" />
<link href="{MODULE_URL}images/weui2.css" rel="stylesheet" type="text/css" />
<script src="{MODULE_URL}images/js/jquery-1.8.3.min.js"></script>
<script src="{MODULE_URL}images/js/owl.carousel.min.js"></script>
<script src="{MODULE_URL}images/layer/layer.js"></script>
<script src="{MODULE_URL}images/zepto.min.js"></script>
<script>
$(window).load(function() {
  $("#status").fadeOut();
  $("#preloader").delay(350).fadeOut("slow");
})
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".shaixuan").click(function(event){
    event.stopPropagation(); 
    $(".shaixuan_box").show();
    $(".shaixuan_box").animate({right:'100%'});
    $("body,html").css("overflow","hidden");
    $(".shaixuan_box").css("overflow","auto");
    $('body').bind("touchmove",function(e){    
                    e.preventDefault();    
            });
  });
  $(".shaixuan_mall a").click(function(event){
     $("body,html").css("overflow","auto");
    $(".shaixuan_box").animate({right:'-100%'});
    $(".shaixuan_box").hide(5); 
    $("body").unbind("touchmove");  
  });
});
</script>
</head>

<body>
<div class="mobile">
  <!--页面加载 开始-->
  <div id="preloader">
    <div id="status">
      <p class="center-text"><span>拼命加载中···</span></p>
    </div>
  </div>
  <!--页面加载 结束--> 
  <!--header 开始-->
 
  <!--header 结束-->
    <div class="search w">
        <form data-role="form" action="./index.php" method="get" class="index-search ">
 <input type="hidden" name="i" value="{$_W['uniacid']}">
    <input type="hidden" name="c" value="{$_GPC['c']}">   
    <input type="hidden" name="do" value="list">
    <input type="hidden" name="m" value="{$_GPC['m']}">
           
    <input name="keyword" type="text" class="search_input" placeholder="请输入您想要查找的关键词">
      <input name="submit" type="submit" class="search_submit" value="搜索">
        </form>
      </div>

  <div class="baoliao w" style="padding-bottom: 55px">
    <div class="ui-tab">
    <ul class="ui-tab-nav">
            {loop $categorieslist $categorylist}
            <li class="current"><a href="{php echo $this->createMobileurl('list', array('cid'=>$cid,'rid'=>$categorylist['id']));}">{$categorylist['name']}</a></li>
            {/loop}           
      </ul>
      <div class="ui-tab-content">
         {loop $business $business}  
     {php $pic = iunserializer($business['logo'])}
            <a href="{php echo $this->createMobileUrl('content', array('id'=>$business['id']));}">
            <div class="baoliao_content">
                <div class="bl_img"><img src="{php echo tomedia($pic['0'])}" /></div>
                <div class="bl_right">
                    <div class="bl_title">{$business['title']}</div>
                    <div class="bl_note">所在分类：{$categories[$business['categoryid']]['name']}</div>
                    <div class="bl_tag">
                        <div class="bl_price">{php echo $this->friendlyDate($business['time'])}</div>
                        <div class="bl_oprice"></div>
                        <div class="bl_time"></div>
                        <div class="bl_mall">已看{$business['click']}次</div>
                    </div>
                </div>
            </div> 
            </a>
            
      {/loop}
       </div>
      {if empty($business)}
        暂无记录
      {/if}
      {if $total > $psize}
         <div class="p bg-gray" style="height:32px;">
  <div class='pager'>
<div class="pager-left">
<div class="pager-first"><a href="{php echo $this->createMobileUrl('index');}" class="pager-nav">首页</a></div>
<div class="pager-pre"><a href="{php echo $this->createMobileUrl('list',array('cid'=>$cid,'rid'=>$rid,'page'=>$pindex-1));}" class="pager-nav">上一页</a></div>
</div>
<div class="pager-cen">{$pindex}/{$total}</div>
<div class="pager-right">
<div class="pager-next"><a href="{php echo $this->createMobileUrl('list',array('cid'=>$cid,'rid'=>$rid,'page'=>$pindex+1));}" class="pager-nav">下一页</a></div>
<div class="pager-end"><a href="{php echo $this->createMobileUrl('list',array('cid'=>$cid,'rid'=>$rid,'page'=>$total));}" class="pager-nav">尾页</a></div>
</div>
</div> 
{/if}
    </div>
  </div>
  <!--筛选-->
  
  <div class="shaixuan_box">
  <div class="shaixuan_mall">
      <h1>筛选</h1>
        <div class="shaixun_item">
            <a href="#" class="current">全部商城</a>
            <a href="#">京东商城</a>
            <a href="#">亚马逊</a>
            <a href="#">苏宁易购</a>
            <a href="#">一号店</a>
      <a href="#">天猫商城</a>
            <a href="#">易迅网</a>
            <a href="#">健一网</a>
            <a href="#">国美在线</a>
            <a href="#">当当网</a>
            <a href="#">亚马逊</a>
            <a href="#">我买网</a>
            <a href="#">优购商城</a>
            <a href="#">新蛋</a>
            <a href="#">顺丰优选</a>
            <a href="#">京东商城wap端</a>
            <a href="#">飞飞商城</a>
            <a href="#">为为网</a>
            <a href="#">淘宝网</a>
            <a href="#">沱沱工社</a>
            <a href="#">银泰网</a>
            <a href="#">唯品会</a>
            <a href="#">可得眼镜</a>
            <a href="#">华强北商城</a>
            <a href="#">天天网</a>
            <a href="#">母婴之家</a>
            <a href="#">聚美优品</a>
            <a href="#">知我药妆</a>
            <a href="#">1号药网</a>
            <a href="#">酒仙网</a>
            <a href="#">尚妆网</a>
      </div>
        <p><a href="#" class="shaixuan_colos">关闭</a></p>
    </div>
  </div>
  {template 'footer'}
</div>
</body>
</html>